home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 8749 < prev    next >
Encoding:
Text File  |  1996-08-05  |  489 b   |  18 lines

  1. Newsgroups: comp.lang.c
  2. Path: news.express.ca!not-for-mail
  3. From: gchan@express.ca (Gary Chan)
  4. Subject: C unions
  5. Message-ID: <367cc$0359.14a@news.express.ca>
  6. Date: Wed, 06 Mar 1996 08:53:09 GMT
  7. X-Newsreader: WinVN 0.99.6
  8. MIME-Version: 1.0
  9. Content-Type: Text/Plain; charset=US-ASCII
  10.  
  11. I need a C union that allows me to freely interpret an integer 
  12. separately as the least significant byte or the most significant byte, 
  13. and as a single integer.  
  14.  
  15. Can someone help me get started on this?
  16.  
  17.  
  18.